package com.bluexmicro.bluetooth.model

import android.bluetooth.BluetoothGattCharacteristic

enum class WriteType(val value: Int, val property: Int) {
    WithResponse(
        BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT,
        BluetoothGattCharacteristic.PROPERTY_WRITE
    ),
    WithoutResponse(
        BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE,
        BluetoothGattCharacteristic.PROPERTY_WRITE_NO_RESPONSE
    ),
    Signed(
        BluetoothGattCharacteristic.WRITE_TYPE_SIGNED,
        BluetoothGattCharacteristic.PROPERTY_SIGNED_WRITE
    )
}
